package com.hxj.admin.szjy.service.listener;

import org.flowable.engine.delegate.DelegateExecution;

/**
 * @Author hxj
 * @Date 2024/11/6 19:28
 * @Description
 */
public class CreateProjectFlowListener extends ParentSzjyFlowListener {


    @Override
    public void notify(DelegateExecution execution) {
        System.out.println("进入流程监听器！");
        System.out.println("处理具体业务");
        System.out.println("处理完毕！");

        int i = 0;
        if (i == 0) {
            throw new RuntimeException("校验有误，不允许提交！");
        }
    }

}
